package com.yuanchu.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.common.utils.PageUtils;
import com.yuanchu.store.dto.DeliveryParamsDto;
import com.yuanchu.store.entity.YoshopDeliveryRuleEntity;

import java.util.List;
import java.util.Map;

/**
 * 配送模板区域及运费表
 *
 * @author adan
 * @email 2028038953@gmail.com
 * @date 2023-12-19 20:57:22
 */
public interface YoshopDeliveryRuleService extends IService<YoshopDeliveryRuleEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查询配送模板规则
     * @param deliveryId
     * @return
     */
    List<DeliveryParamsDto.RulesForm> queryRuleList(Integer deliveryId);
}

